// --------------------------------------------------------------------
//   name 	: Detection blocker
//   desc 	: The detection blocker attempts to block detection schemes of TW
//   version 	: 0.1
//   dev 	: Timas & Mog
// --------------------------------------------------------------------
// DEPENDENCIES
// 	None
// --------------------------------------------------------------------
// CHANGE HISTORY
// 0.1 	Initial Release
// --------------------------------------------------------------------
plugins.detectionProtect = { // Rewrite the TW detection scripts
	"enhance_game" : function() {
		setFunc('gm_scan', function(premium, ads) { 
			log(1, "TW just tried to scan you for using scripts!"); //style="display:none"
			var html = "<div id=\"scanmsg\" onclick=\"javascript:this.style.display='none';\"><p>"+twe.lang("tw_scan")+"</p></div>";
			$("body").append(html);
			$("#scanmsg").click(function() {
				$("#scanmsg").remove();
				});
			});
		setFunc('gm_report_violation', function(violation) { 
			log(1, 'TW just tried to report the violation: '+violation); 
			});
		},
  	"info" : {
  		"mandatory" : "true", 
  		"name" : "Detection blocker", 
  		"desc" : "The detection blocker attempts to block detection schemes of TW", 'version' : "0.1", 
  		"dev" : "Timas & Mog"
		}
};
